package lesson.student;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentDao {


    public void addStudent(Student student);

    void updateStudent(Student student);

    public boolean checkExist(@Param("student") Student student);

    public List<Student> list(String keywords, Integer gradeId, Integer classId);


    public void delStudent(Integer id);

    Student getById(Integer id);

}
